package org.jeecg.modules.question.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.question.entity.AoQuestionItem;
import org.jeecg.modules.question.mapper.AoQuestionItemMapper;
import org.jeecg.modules.question.service.IAoQuestionItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 题目选项
 *
 * @author thankgod7
 * @version V1.0
 * @date 2022-01-18
 */
@Service
public class AoQuestionItemServiceImpl extends ServiceImpl<AoQuestionItemMapper, AoQuestionItem> implements IAoQuestionItemService {

    @Resource
    private AoQuestionItemMapper aoQuestionItemMapper;

    @Override
    public List<AoQuestionItem> selectByMainId(String mainId) {
        return aoQuestionItemMapper.selectByMainId(mainId);
    }
}
